<html>
<head>
</head>
<body>
<form name="geraRelatDesp" id="geraRelatDesp" action="despesa/relatorio.php" method="POST" onSubmit="window.open('despesa/relatorio.php'); return false;">
    <input type="hidden" name="acao" value="">
    <input type="hidden" name="idEstab">
    <input type="hidden" name="idPac">
    <input type="hidden" name="idTipoDesp">
    <table align="left" cellpadding="2" cellspacing="5">
    <tr>
        <td>
            <table class="tableBorderCad" frame="hsides" align="left" cellpadding="2" cellspacing="5">
                <tr>
                    <td colspan="4"><b>Estabelecimento:</b><br>
                    <input disabled="disabled" type="text" style="width: 80%" name="estab" value=""/>
                    <input type="button" name="procEstab" value="..." onclick="javascript:openDiv('estabelecimento/pesquisaEstab.php?formName=geraRelatDesp');"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="4"><b>Paciente:</b><br>
                    <input disabled="disabled" type="text" style="width: 80%" name="paciente" value=""/>
                    <input type="button" name="procPac" value="..." onclick="javascript:openDiv('paciente/pesquisaPac.php?formName=geraRelatDesp');"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="4"><b>Tipo Despesa:</b><br>
                    <input disabled="disabled" type="text" style="width: 80%" name="tipoDesp" value=""/>
                    <input type="button" name="procTipoDesp" value="..." onclick="javascript:openDiv('tipoDespesa/pesquisaTipoDesp.php?formName=geraRelatDesp');"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="4"><b>Per&iacute;odo:</b><br>
                    Data Inicial: <input type="text" id="dataIni" name="dataIni" onClick="show_calendar('geraRelatDesp.dataIni');" onkeypress="mascara(this,mdata)" maxlength="10" />
                    Data Fim: <input type="text" id="dataFim" name="dataFim" onClick="show_calendar('geraRelatDesp.dataFim');" onkeypress="mascara(this,mdata)" maxlength="10" />
                    </td>
                </tr>
                <tr>
                    <td>
                      <input type="radio" name="tipo" value="A" checked>Anal&iacute;tico
                      <input type="radio" name="tipo" value="S">Sint&eacute;tico
                    </td>
                </tr>
                <tr>
                    <td class="abutton">
                        <a href="javascript:void(1);" onclick="submitForm(document.forms['geraRelatDesp'], 'imprimir');">Imprimir</a>
                    </td>
                </tr>
          </table>
        </td>
    </tr>
    </table>
</form>
</body>
</html>
